package com.neusoft.demo2;

public class Test {
    public static void m1(int a) {
        System.out.println(a);
    }

    public static void m2(String name) {
        System.out.println(name);
    }

    public static void m3(int[] array) {
        for (int a:array) {
            System.out.println(a);
        }
    }

    public static String m4() {
        return "tom";
    }

    public static String[] m5() {
        String[] array = {"test","one"};
        return array;
    }

    public static void main(String[] args) {
        m1(1);
        m2("gibson");
        int[] array = {12,13};
        m3(array);
        String res = m4();
        System.out.println(res);
        String[] ar = m5();
        for (String n:ar) {
            System.out.println(n);
        }
    }
}
